package com.lscdu.gulimall.ruoyi_springboot.utis.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Administrator
 * @date 2024/9/12 11:59
 * RuoYiConfig 读取项目相关配置
 */

@Component
@ConfigurationProperties(prefix = "ruoyi")
public class RuoYiConfig {

	/**
	 * 获取地址开关
	 */
	private static boolean addressEnabled;

	public static boolean isAddressEnabled() {
		return addressEnabled;
	}
}
